package com.logwire.dto.query;import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;import com.logwire.config.shiro.ShiroUtils;import com.logwire.dto.UserDTO;import io.swagger.v3.oas.annotations.media.Schema;import lombok.Data;import org.springframework.util.ObjectUtils;@Datapublic class BaseThirdPartyInterfaceQuery extends BaseQuery {	@Schema(description = "名称")	private String name;	@Override	public QueryWrapper getWhere() {		final QueryWrapper<Object> objectQueryWrapper = new QueryWrapper<>();		if (!ObjectUtils.isEmpty(name)) {			objectQueryWrapper.like("name", name);		}		final UserDTO user = ShiroUtils.getUser();		objectQueryWrapper.eq("tenant_id", user.getTenantId());		return objectQueryWrapper;	}}